<?php
namespace app\api\controller\biliao;
use app\api\controller\Common;
class Base extends Common{	//个人中心 需验证登陆
	public function _empty($name){
        die('非法访问！你的IP已被监控！');
    }
	public function _initialize(){
		//运行上级初始化方法
		parent::_initialize();
		//币聊表数据
		$this->biliao=db('biliao')->where('uid',$this->userinfo['id'])->find();
		//引入融云SDK
		Vendor('rongcloud.rongcloud');
		$this->RongCloud=new \RongCloud(config('ry_appkey'),config('ry_appsecret'));
    }
}






